package roachPopulation;

public class roachPopulation {

	private double population;
	
	public roachPopulation(double initialPopulation)
	{
		population = initialPopulation;
	}
	
	public void Grow()
	{
		population = population * 2;
	}
	
	public void Spray(double strengthPercentage)
	{
		population = population - (population * (strengthPercentage / 100));
	}
	
	public double getPopulation()
	{
		return population;
	}
}
